def debug_add_html_in_page(driver, tip):
    # 在页面添加元素
    js = '''
           div=document.createElement('div')
           div.id='mydiv'
           div.style.width='200px'
           div.style.height='100px'
           div.style.backgroundColor='blue'
           document.body.appendChild(div)
           div.innerHTML='{tip}'
           div.style.position='fixed'
           div.style.left='10px'
           div.style.top='600px'
       '''
    js = js.format(tip=tip)
    print(js)
    driver.execute_script(js)
